package app.datavalue;

import java.util.Date;

public class DeliveryRepMsgInfo extends MsgInfo
{
	private Date doneDate;
	
	private String errorMessage;
	
	public DeliveryRepMsgInfo()
	{
		super();
		type = DELIVERY_NOTIF_TYPE;
	}
	
	public void setDoneDate(Date doneDate) {
		this.doneDate = doneDate;
	}

	public Date getDoneDate() {
		return doneDate;
	}

	public void setFinalDeliveryStatus(MsgDeliveryFinalStatus staus) {
		this.finalDeliveryStatus = staus;
	}

	public MsgDeliveryFinalStatus getFinalDeliveryStatus() {
		return finalDeliveryStatus;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	private MsgDeliveryFinalStatus finalDeliveryStatus;

	
	
	
	/*
	protected String externalId;
	
	Integer internalId;
	
	private Date msgDate;
	
	public String getExternalId()
	{
		return this.externalId;
	}
	
	public void setExternalId( String externalId )
	{
		this.externalId = externalId;
	}
	
	public Integer getInternalId()
	{
		return internalId;
	}
	
	public void setInternalId( Integer id )
	{
		internalId = id;
	}
	
	
	public Integer getId()
	{
		return getInternalId();
	}
	
	public void setId( Integer id )
	{
		setInternalId(id);
	}

	public void setMsgDate(Date msgDate) 
	{
		this.msgDate = msgDate;
	}

	public Date getMsgDate() 
	{
		return msgDate;
	}
	
	@Override
	public String toString() {
		return "id:" + getId() + " extrId: " + getExternalId();
	}
	*/
	
}
